package com.baizhi.wj.service;

import com.baizhi.wj.entity.Admin;

import java.io.IOException;
import java.util.Map;

public interface AdminService {
    void register(Admin admin);
    /*Admin queryBuName(String username);*/
    Map<String,String> queryByUsername(Admin admin,String token);
    Admin getUserInfo(String token);
    void logout(String token);
    Map<String,String> getlmageCodes() throws IOException;
}
